Check your system for the base python packages required for MLSS 2015

Please run the following cell and it will tell you if your python environment can find all of the required packages.


In [1]:
import imp

packages = ['numpy',
            'scipy',
            'matplotlib',
            'pandas',
            'sklearn']

for pac in packages:
    try:
        imp.find_module(pac)
        print("{}: Ok!".format(pac))
    except ImportError as e:
        print("{}: Error -- {}".format(pac, e))


numpy: Ok!
scipy: Ok!
matplotlib: Ok!
pandas: Error -- No module named pandas
sklearn: Ok!

In [ ]: